package com.mentaleye.dal.dao;

import java.util.List;
import java.util.Map;

import com.mentaleye.dal.model.CurriculumTemp;
import com.mentaleye.dal.model.CurriculumTempExample;

public interface CurriculumTempDao {

	public boolean addCurriculumTemp(CurriculumTemp curriculumTemp);

	public boolean editCurriculumTemp(CurriculumTemp curriculumTemp);

	public List<CurriculumTemp> queryCurriculumTemp(Map<String,Object> map);
	
	public List<CurriculumTemp> queryCurriculumTemp(CurriculumTempExample example);
		
	public boolean deleteCurriculumTemp(List<Integer> ids);
	
	public boolean saveRlate(Integer cno, Integer tmpNo, Integer sort);
	
	public boolean deleteRlate(List<Integer> ids, Integer tmpNo);
	
	public boolean updateRlate(Integer cno, Integer tmpNo, Integer sort);
	
	public CurriculumTemp getCurriculumTempByNo(Integer curriculumTempNo);
	
	public List<CurriculumTemp> selectByExample(CurriculumTempExample example);
}
